package com.coolingme.kpi;

import java.util.Random;

/**
 * 工程师
 *
 * @author wangyue
 * @date 2020/10/10 9:34
 */
public class Engineer extends AbstractEmployee {
    public Engineer(String name) {
        super(name);
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visitor(this);
    }

    /**
     * 工程师一年的代码量
     */
    public Integer getCodeLines() {
        return new Random().nextInt(10 * 10000);
    }


}
